#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void Bubble_Sort(int arr[], int sz) {
	for (int i = 0; i <sz-1; i++) {
		for (int j = 0; j < sz - i-1; j++) {
			if (arr[j] > arr[j + 1]) {
				int tmp = arr[j];
				arr[j] = arr[j+1];
				arr[j + 1] = tmp;
			}
		}
	}
	for (int i = 0; i < sz; i++) {
		printf("%d", arr[i]);
	}
}
int main() {
	int arr[] = { 10,9,8,7,6,5,4,3,2,1 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	Bubble_Sort(arr,sz);
	return 0;
}